import jwt from 'jsonwebtoken'
import Conf from '@/config'
import to from '@/utils/to'
import ArticleModel from '../models'

class ArticleService {
    // 添加文章
    static async add() {

    }

    static async edit() {

    }

    static async list() {
      const list =  await ArticleModel()
       return {
           code:200,
           msg:'success',
           data:list
       }
    }
}
export default ArticleService